package com.htsk.city.services.core.dao;


import com.htsk.city.services.core.domain.SysDict;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * 系统字典表(SysDict)表数据库访问层
 *
 * @author makejava
 * @since 2024-09-25 18:13:08
 */
public interface SysDictDao extends JpaRepository<SysDict,Integer> {
    List<SysDict> findAllByDataTypeCode(String code);
    SysDict findByDataTypeCodeAndDataValueId(String code,Integer id);

    SysDict findByDataTypeCodeAndDataValue(String code, String value);

}

